#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>

#define ONE 0x1
#define TWO 0x2
#define THREE 0x4
void show(int flag)
{
    if (flag & ONE)
    {
        printf("ONE");
    }
    if (flag & TWO)
    {
        printf("TWO");
    }
    if (flag & THREE)
    {
        printf("THREE");
    }
    printf("\n");
}
int main()
{
    show(ONE);
    show(TWO);
    show(ONE | TWO);
    show(ONE | TWO | THREE);

    return 0;
}

